home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
pc
/
Demos
/
Bombardier_PC
/
BSCRIPTS.CST
/
00114_Script_completionCityMenu
< prev
next >
Wrap
Text File
|
1999-04-25
|
2KB
|
76 lines
-- ⌐ 1998 @radical.media, inc. & Concurrent New Media Group, L.L.C.
-- Developed for Bombardier, Inc.
--
-- All programming developed by:
-- Robert Fabricant, Valerie Valoueva, Ossi Shaked,
-- Henry Sauvageot, Chris Howell & Chris Girand
--
-- Use of this code by parties other than @radical.media, inc. or their
--agents
-- without the express written consent of @radical.media, inc. AND Concurrent
-- New Media Group, L.L.C. is strictly prohibited.
------------------------------------------------------
property mySprite, neuName, rolName, selected
global city, process
on new me
set mySprite = the spriteNum of me
set neuName = the name of member the member of sprite mySprite
if neuName contains "hil" then
set selected = 1
set city = getCityName (me)
else
set selected = 0
set rolName = neuName&"-hil"
end if
end
on mouseEnter me
if not selected then
set the member of sprite mySprite = member rolName
puppetsound 3, "subroll"
end if
end
on mouseLeave me
if not selected then
set the member of sprite mysprite = member neuName
end if
end
on mouseUp me
if not selected then
if process =0 then
set city = getCityName (me)
if city = "montreal" then
go to frame "montreal selected"
else if city = "tucson" then
go to frame "completion process"
end if
else
set city = getCityName (me)
set frameName = city&process
go to frame frameName
end if
puppetsound 3, "mouse5"
end if
end
on getCityName me
set save = the itemDelimiter
set the itemDelimiter = "-"
set value = item 1 of neuName
set the itemDelimiter = save
return value
end